﻿Public Class Form12

    'Private Sub Tbl_testBindingNavigatorSaveItem_Click(sender As System.Object, e As System.EventArgs) Handles Tbl_testBindingNavigatorSaveItem.Click
    '    'Me.Validate()
    '    'Me.Tbl_testBindingSource.EndEdit()
    '    'Me.TableAdapterManager.UpdateAll(Me.Test4DataSet)

    'End Sub

    Private Sub Form12_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load
        'TODO: This line of code loads data into the 'Test4DataSet.tbl_thu' table. You can move, or remove it, as needed.
        Me.Tbl_thuTableAdapter.Fill(Me.Test4DataSet.tbl_thu)
        ''TODO: This line of code loads data into the 'Test4DataSet.tbl_test' table. You can move, or remove it, as needed.
        ''Me.Tbl_testTableAdapter.Fill(Me.Test4DataSet.tbl_test)
        ''Me.Tbl_testIUltraGrid.setDoiTuongXuLyDuLieu(Me.Test4DataSet.tbl_test, Me.Tbl_testBindingSource, Me.Tbl_testTableAdapter, Me.Test4DataSet)
        Me.Tbl_testIUltraGrid.setDoiTuongXuLyDuLieu(Me.Test4DataSet.tbl_thu, Me.Tbl_thuBindingSource, Me.Tbl_thuTableAdapter, Me.Test4DataSet)
        Me.Tbl_testIUltraGrid.setGiaoDienVua()
        Me.Tbl_testIUltraGrid.setTimKiemTrenCotUltraGrid()
        Me.Tbl_testIUltraGrid.setChoPhepMenuStrip()
        'Me.Tbl_testIUltraGrid.setChoPhepLuuXongKhongThemDong()
        'Me.Tbl_testIUltraGrid.PrintPreview()

    End Sub

    Private Sub UltraButton1_Click(sender As System.Object, e As System.EventArgs) Handles UltraButton1.Click
        Me.Tbl_testIUltraGrid.getLuu()
    End Sub
End Class